home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
CD ROM Paradise Collection 4
/
CD ROM Paradise Collection 4 1995 Nov.iso
/
system
/
bywhen10.zip
/
BYWHEN2.BAT
< prev
next >
Wrap
DOS Batch File
|
1995-01-09
|
933b
|
44 lines
@echo off
cls
goto setvars
////////////////////////////////////////////////
/ NAME: bywhen2.bat /
/ PURPOSE: example of calling BYWHEN.EXE /
/ DATE: 11/24/94 /
/ NOTE: The set vars should be set to reflect /
/ your own system. /
/ Remove the @ if DOS ver prior to 3.30 /
////////////////////////////////////////////////
:setvars
set __exe=c:\tp\bin\tpc.exe
set __parm=/p:source.pas
set __time=/t:21:43:00
set __date=/d:11/24/1994
set __errln=/w
goto start
:start
if not exist %__exe% goto error
bywhen %__exe% %__parm% %__time% %__date% /m:Bill %__errln%
goto clrvars
:error
echo.
echo Could not find %__exe%
echo You may need to change the set vars in %0.bat to reflect your system.
goto clrvars
:clrvars
set __exe=
set __parm=
set __time=
set __date=
set __errln=
goto end
:end